package com.lujianing.test;
import org.apache.log4j.Logger;
import org.junit.Test;

public class Log4JTestMail {
    public static Logger logger = Logger.getLogger(Log4JTestMail.class);
    @Test
    public void Test(){
        logger.fatal("程序严重问题");
        logger.error("出错了,赶紧重启服务器");

    }
}
